package com.pym.bs;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

@SpringBootApplication
@MapperScan("com.pym.bs.dao")
@Component
public class DemoBsApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoBsApplication.class, args);
    }

    @RequestMapping(value = "/ping")
    String ping() { return "pong"; }

}
